/*=============================================================================

  Manager Event Handler MODULE

  FILE: SYSmgr_EHandler.cpp
  
  DESCRIPTION

    Manager Event Handler Definition

  EXTERNALIZED FUNCTIONS

    
  Copyright (c) DaeSung Engineering Inc. All rights reserved.

=============================================================================*/
/*=============================================================================

                             EDIT HISTORY

  ---------  -------  -------------------------------------------------------
    when       who     what, where, why
  ---------  -------  -------------------------------------------------------
   06/28/03   nso4th   Version 0.1

=============================================================================*/

/*=============================================================================
  HEADER INCLUSION
=============================================================================*/
#include <SYSmgr.h>

/*=============================================================================
  XBASE CLASS IMPLEMENTATION
=============================================================================*/
dword SYSmgr::Command_Handler(dword cmd, dword wp, dword lp)
{
	dword			mj_sts, mn_sts;

	mj_sts = State_MajCurrent();
	mn_sts = State_MinCurrent();
	
	switch(cmd)
	{
	case RESET_CLEAR_C:
	{
		LOGINFO("[RESET] Cleared !");
		if(mj_sts == IDL_S && mn_sts == IDL_ERR_S)
		{
			State_Change(IDL_S, IDL_IDL_S);
			
		}
		break;
	}
	}
	return	FALSE;
}

/*--- END OF SYSmgr_EHandler.CPP ---*/
